package com.study.graph.model;

import com.study.graph.model.annotation.EdgeMapping;
import com.study.graph.model.annotation.FieldMapping;
import com.study.graph.model.annotation.FieldType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@EdgeMapping("follow")
public class FollowEdge extends BaseEdge implements Serializable {

    @FieldMapping(value = "degree", type = FieldType.Int)
    private Integer degree;
}
